package com.yxhl.km;

import android.app.Application;
import android.content.Context;
import android.util.Log;

import com.zhy.autolayout.config.AutoLayoutConifg;

/**
 * Created by 张亚楠 on 2018/5/18.
 */

public class MyApplication extends Application {
    public static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = this;
        //初始化布局AutoLayout
        initAutoLayout();
        Log.e("Tag", "MyApplication");

    }

    private void initAutoLayout() {
        AutoLayoutConifg.getInstance().useDeviceSize();
    }
}
